From 159585bb4287c2a7cf8d917af57aa4b595702930 Mon Sep 17 00:00:00 2001 From: robertl Date: Tue, 23 Sep 2003 12:09:43 +0000 Subject: [PATCH] Fix C99-ism. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@503 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/navicache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/navicache.c b/gpsbabel/navicache.c index 929073730..de6d2500c 100644 --- a/gpsbabel/navicache.c +++ b/gpsbabel/navicache.c @@ -101,8 +101,8 @@ static void nav_start(void *data, const char *el, const char **attr) { if (0 == strcmp(el, "CacheDetails")) { - wpt_tmp = xcalloc(sizeof(*wpt_tmp), 1); const char **ap; + wpt_tmp = xcalloc(sizeof(*wpt_tmp), 1); for (ap = attr; *ap; ap+=2) { if (0 == strcmp(ap[0], "cache_id")) { wpt_tmp->shortname = xstrdup(ap[1]); -- 2.30.2